package com.yc.game.service;

import com.github.pagehelper.PageInfo;
import com.yc.game.pojo.TrainingContent;

public interface TrainingContentService {
    int add(TrainingContent content, String email);

//    PageInfo<TrainingVo> getByEmail(Integer pageNum, Integer pageSize, String email);

    PageInfo<TrainingContent> getAll(Integer pageNum, Integer pageSize);

    void updateStatus(Integer trainingId);

    PageInfo<TrainingContent> getByEmail(Integer pageNum, Integer pageSize, String email);
}
